<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MNNKit: com.alibaba.android.mnnkit.intf.InstanceCreatedListener&lt; T extends MNNKitBaseActor &gt; Interface Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="mnn.jpg"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MNNKit
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">MNNKit is a collection of AI solutions on mobile phone, powered by MNN engine.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacecom.html">com</a></li><li class="navelem"><a class="el" href="namespacecom_1_1alibaba.html">alibaba</a></li><li class="navelem"><a class="el" href="namespacecom_1_1alibaba_1_1android.html">android</a></li><li class="navelem"><a class="el" href="namespacecom_1_1alibaba_1_1android_1_1mnnkit.html">mnnkit</a></li><li class="navelem"><a class="el" href="namespacecom_1_1alibaba_1_1android_1_1mnnkit_1_1intf.html">intf</a></li><li class="navelem"><a class="el" href="interfacecom_1_1alibaba_1_1android_1_1mnnkit_1_1intf_1_1_instance_created_listener.html">InstanceCreatedListener</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="interfacecom_1_1alibaba_1_1android_1_1mnnkit_1_1intf_1_1_instance_created_listener-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">com.alibaba.android.mnnkit.intf.InstanceCreatedListener&lt; T extends MNNKitBaseActor &gt; Interface Template Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a6f675277b6db3377627091fa45b3a778"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1alibaba_1_1android_1_1mnnkit_1_1intf_1_1_instance_created_listener.html#a6f675277b6db3377627091fa45b3a778">onSucceeded</a> (T actor)</td></tr>
<tr class="separator:a6f675277b6db3377627091fa45b3a778"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6680c1eefe63b8675b5f55d3ce4b2f3e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1alibaba_1_1android_1_1mnnkit_1_1intf_1_1_instance_created_listener.html#a6680c1eefe63b8675b5f55d3ce4b2f3e">onFailed</a> (int errorCode, Error error)</td></tr>
<tr class="separator:a6680c1eefe63b8675b5f55d3ce4b2f3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Instance Created Listener </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">&lt;T&gt;</td><td>sub Actor Class extend MNNKitBaseActor </td></tr>
  </table>
  </dd>
</dl>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a6680c1eefe63b8675b5f55d3ce4b2f3e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6680c1eefe63b8675b5f55d3ce4b2f3e">&#9670;&nbsp;</a></span>onFailed()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="interfacecom_1_1alibaba_1_1android_1_1mnnkit_1_1intf_1_1_instance_created_listener.html">com.alibaba.android.mnnkit.intf.InstanceCreatedListener</a>&lt; T extends <a class="el" href="classcom_1_1alibaba_1_1android_1_1mnnkit_1_1actor_1_1_m_n_n_kit_base_actor.html">MNNKitBaseActor</a> &gt;.onFailed </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>errorCode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Error&#160;</td>
          <td class="paramname"><em>error</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a6f675277b6db3377627091fa45b3a778"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6f675277b6db3377627091fa45b3a778">&#9670;&nbsp;</a></span>onSucceeded()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="interfacecom_1_1alibaba_1_1android_1_1mnnkit_1_1intf_1_1_instance_created_listener.html">com.alibaba.android.mnnkit.intf.InstanceCreatedListener</a>&lt; T extends <a class="el" href="classcom_1_1alibaba_1_1android_1_1mnnkit_1_1actor_1_1_m_n_n_kit_base_actor.html">MNNKitBaseActor</a> &gt;.onSucceeded </td>
          <td>(</td>
          <td class="paramtype">T&#160;</td>
          <td class="paramname"><em>actor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this interface was generated from the following file:<ul>
<li>MNNKitCore/android/src/main/java/com/alibaba/android/mnnkit/intf/<a class="el" href="_instance_created_listener_8java.html">InstanceCreatedListener.java</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
